<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var age = 0;
        var sum = 0;
        while (age <= 100){
            age++;
            // console.log('我今年'+age+'岁');
            sum += age;
        }
        console.log(sum);

        var ask = prompt('你爱我吗');
        while (ask !== '我爱你'){
            ask =  prompt('你爱我吗');
        }
        alert('我也爱你啊');
    </script>
</head>
<body>

</body>
</html>